Introduction to Golang

Concepts of Programming Languages

Sebastian Macke

Rosenheim Technical University

Gopher

2

Google Trend von "golang"

3

Why Go?

4

Introduction to Golang

Rob Pike @ Google 2009 (60 Min)

5

Hello World

package main

import (
    "fmt"
)

func main() {
    fmt.Printf("Hello %s", "Programming with Go \xE2\x98\xAF\n") // \xE2\x98\xAF -> ☯
    fmt.Printf("Hello %s", "Programming with Go ☯\n")
}
6

Orthogonal classification II

Go Java Javascript Python C
Static / Dynamic S S D D S
Compiled / Interpreted C C I* I* C
Sequential / Parallel P P** S** P P**
Static Linked / Dynamic Linked S D -*** -*** S/D
Safe / Unsafe S S S S U
Bytecode / Assembler A B - - A
Platform Dependent / Cross C C C C P
7

Some Questions

8

Exercise 1

9

See also

10

Thank you

Sebastian Macke

Rosenheim Technical University

Use the left and right arrow keys or click the left and right edges of the page to navigate between slides.
(Press 'H' or navigate to hide this message.)